package com.halflife.framework.dto;

import org.apache.commons.lang.StringUtils;

import java.util.HashMap;
import java.util.LinkedHashMap;

/**
 * Created by zhaoyf on 2018/8/30.
 */
public class HFMap<K,V> extends LinkedHashMap<K,V> {
    public V put(K key, V value) {
        if (value == null || StringUtils.isBlank(value.toString())) {
            return null;
        }
        return super.put(key,value);
    }

}
